package dao;

import org.apache.ibatis.annotations.Param;
import pojo.Customer;
import pojo.Page;
import pojo.Vender;

import java.util.List;

/**
 * @ClassName 刘星宇
 * @Description TODO
 * @date 2022/12/2 11:32
 * @Version 1.0
 */
public interface CustomerMapper extends BaseMapper<Customer>{
    int getCount1(@Param("page") Page<Customer> page, @Param("customer") Customer customer);
    List<Customer> customerAllByPage(@Param("page") Page<Customer> page, @Param("customer") Customer customer);
    //新增
    int AddCustomer(Customer c);
    //修改
    int UpdateCustomer(Customer c);
    //删除
    int DelCustomer(String customerCode);
}
